html,
body {
	height: 100%;
	padding: 0;
	margin: 0;
}


body {
	background-color: rgb(241, 241, 241);
}

input,
input:focus,
textarea,
textarea:focus,
select,
select:focus {
	font-size: 16px !important;
}

#salesplanmainId {
	padding: 10px;
}

.swiper-pagination {
	bottom: 20px !important;
}

#searchBar {
	margin-top: -25px;
	z-index: 50;
}

.weui-search-bar {
	background-color: rgba(0, 0, 0, 0) !important;
}

.salary {
	color: #fa9d3b;
	text-align: right;
}

.badge {
	display: inline-block;
	padding: 0.25em 0.6em;
	/* font-size: 75%; */
	font-weight: 400;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 0.215rem;
	margin-right: 5px;
}

.badge-secondary {
	color: #fff;
	background-color: #6c757d;
}

.badge-default {
	color: #212529;
	background-color: #e4eaec;
	color: #76838f;
}

.release_time {
	text-align: right;
}

.recruitment_jobs {
	background-color: #fff;
	padding: 10px;
	margin-bottom: 10px;
	border-radius: 5px;
}

/*.weui-flex {
    line-height: 2rem;
}*/

.record {
	border-left: 4px solid #07c160;
	padding-left: 15px;
	font-weight: 600;
}

#return_button {
	width: 90%;
	margin-left: 10px;
}

[v-cloak] {
	display: none;
}

.bottom_btn {
	position: fixed;
	z-index: 999;
	bottom: 0px;
	width: 100%;
	background: #fff;
	height: 70px;
	border-top-color: #ededed;
	border-top-width: 2px;
	border-top-style: solid;
}

.bottom_btn_container {
	margin: auto;
	text-align: center;
	flex: 1;
}

.salesplanstate {
	position: absolute;
	right: 20px;
}

.weui-search-bar {
	padding: 8px 0px;
}

#addsaleorders {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: #07c160;
	/* #06aE56 */
	position: fixed;
	bottom: 40px;
	right: 10px;
}

.returnHome {
	position: fixed;
	left: 10px;
	bottom: 40px;
	width: 78px;
	height: 78px;
	opacity: 0.7;
	box-shadow: 0 2px 4px 0 rgba(110, 103, 103, 0.50);
	border-radius: 100%;
	display: block;
	z-index: 999;
	background: #e6e6e6;
	text-align: center;
}

.returnHome .icon {
	display: inline-block;
	font-size: 34px;
	color: #4c4c4c;
	top: 20px;
}

.looksale .marbot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
}


.ellipsis {
	margin-right: 18px;
	line-height: 10px;
}

.addsales {
	margin-top: 15px;
	margin-left: 15px;
}

.detail {
	position: relative;
	width: 100px;
}

.saledetail {
	position: absolute;
	top: 20px;
	right: -10px;
	background-color: #414141;
	list-style: none;
	color: #ededed;
	z-index: 999;
	padding: 10px;
	padding-top: 0px;
}

.saledetail li {
	margin-top: 10px;
	text-align: center;
}

.weui-dialog .weui-dialog__bd {
	margin-bottom: 10px;
}


.pull-down {
	position: relative;
	overflow: hidden;
	height: 0;
	max-height: 60px;
}

.pull-down-content {
	position: absolute;
	bottom: 0;
	text-align: center;
	line-height: 30px;
	color: #999;
	width: 100%;
}

* {
	touch-action: pan-x pan-y;
}

.spleplan_nav {
	margin-bottom: 8px;
}

.weui-navbar__item.weui-bar__item--on {
	color: #04BE02;
	font-weight: bold;
}

/* 死亡记录预览单样式 */
.death-record-preview {
	padding: 20px;
	background: #fff;
	font-size: 14px;
	line-height: 1.6;
}

.death-record-preview h2 {
	text-align: center;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.preview-section {
	margin-bottom: 20px;
}

.preview-row {
	margin-bottom: 15px;
	display: flex;
	align-items: flex-start;
}

.preview-label {
	font-weight: bold;
	display: inline-block;
	width: 120px;
	flex-shrink: 0;
	color: #666;
}

.preview-value {
	flex: 1;
	color: #333;
	word-break: break-all;
}

/* 签署字段区域 */
.signature-section {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px dashed #ccc;
}

.signature-row {
	display: flex;
	justify-content: space-around;
	margin-bottom: 60px;
}

.signature-row>div {
	text-align: center;
}

.signature-row>div>div:first-child {
	height: 50px;
	border-bottom: 1px solid #333;
	width: 150px;
	margin-bottom: 5px;
}

.signature-row>div>div:last-child {
	font-size: 12px;
	color: #666;
}

/* WeUI 模态框内容优化 */
.weui-dialog {
	max-width: 50%;
	/* T006: 桌面端默认宽度 */
}

.weui-dialog__bd {
	max-height: 70vh;
	/* 从 60vh 增加到 70vh，增加整体高度 */
	overflow-y: auto;
	padding: 15px 20px;
	text-align: left;
}

/* T005: 模态框标题栏样式 - 蓝色背景 */
.weui-dialog__hd {
	background-color: #3f8ef7;
	color: #fff;
	padding: 12px 15px;
	border-radius: 8px 8px 0 0;
}

/* T004: 签署表单模态框标题样式 */
.signature-modal-title {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	text-align: center;
}

/* T004: 签署表单行样式 */
.signature-form-row {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	padding: 8px 0;
}

.signature-form-row label {
	width: 90px;
	font-size: 14px;
	color: #666;
	flex-shrink: 0;
}

.signature-form-row .signature-select {
	flex: 1;
	margin-left: 10px;
}

/* T006: 移动端响应式优化 */
@media screen and (max-width: 768px) {
	.weui-dialog {
		max-width: 90%;
		/* 移动端模态框宽度 90% */
	}
}

/* 移动端优化 */
@media screen and (max-width: 375px) {
	.death-record-preview {
		padding: 15px;
	}

	.preview-label {
		width: 100px;
		font-size: 13px;
	}

	.signature-row>div>div:first-child {
		width: 120px;
	}

	.signature-form-row label {
		width: 80px;
		font-size: 13px;
	}
}

/* 签署表单样式 */
.signature-form-container {
	padding: 10px;
}

.signature-form-container .weui-cells {
	margin-top: 0;
}

.signature-form-container .weui-cell {
	padding: 10px 0;
}

.signature-form-container .weui-label {
	width: 90px;
	font-size: 14px;
	color: #666;
}

.signature-form-container select {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	background-color: #fff;
	color: #333;
}

.signature-form-container select:focus {
	outline: none;
	border-color: #04BE02;
}

.signature-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23999" d="M6 9L1 4h10z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 30px;
}

/* 表单加载状态 */
.signature-form-loading {
	text-align: center;
	padding: 20px;
	color: #999;
}

/* 移动端表单优化 */
@media screen and (max-width: 375px) {
	.signature-form-container .weui-label {
		width: 80px;
		font-size: 13px;
	}

	.signature-form-container select {
		font-size: 13px;
		padding: 6px;
	}
}

/* T043: 移动端触摸事件优化 - 防止双击缩放 */
.signature,
.viewdetails,
.edit,
.submit,
.delete,
.audit,
.antiaudit {
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
}

.weui-dialog__ft button {
	touch-action: manipulation;
}

/* T014 + T046: Select2 移动端渲染优化（参考 research.md Decision 7） */
.signature-select,
.signature-form-container select {
	/* 移动端原生下拉优化 */
	font-size: 16px !important;
	/* 防止 iOS 自动缩放 */
	touch-action: manipulation;
	/* 防止双击缩放 */
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 移动端下拉框箭头优化 */
@media screen and (max-width: 768px) {
	.signature-select {
		background-size: 14px 14px;
		background-position: right 8px center;
	}
}

/* 加载状态优化 */
.weui-loading {
	touch-action: none;
}

/* T017: 预览表单容器 - 支持横向滚动 + 触摸优化 */
.death-record-preview {
	padding: 20px;
	background: #fff;
	overflow-x: auto;
	/* 允许横向滚动 */
	-webkit-overflow-scrolling: touch;
	/* iOS平滑滚动 */
	touch-action: manipulation;
	/* 防止双击缩放 */
	-webkit-user-select: none;
	user-select: none;
}

/* 内容包裹器 - 确保最小宽度和居中 */
.preview-content-wrapper {
	min-width: 600px;
	/* 确保表格不被压缩 */
	margin: 0 auto;
}

/* 表格样式 */
.death-record-preview table {
	width: 100%;
	border-collapse: collapse;
}

.death-record-preview table td,
.death-record-preview table th {
	padding: 8px;
	border: 1px solid #333;
}

/* T018: 移动端优化 */
@media screen and (max-width: 375px) {
	.death-record-preview {
		padding: 15px;
	}

	.preview-content-wrapper {
		min-width: 550px;
		/* 移动端稍微缩小最小宽度 */
	}

	.death-record-preview p {
		font-size: 13px;
	}
}

/* T019: 按钮触摸事件优化 */
.weui-dialog__ft button {
	touch-action: manipulation;
}